From 7dc588c4d377dbfe54061f35dc67f35cefac9c03 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 9 Apr 2016 17:35:58 -0400 Subject: [PATCH] Add a note about GDK_AXIS_X/Y These axes mmay or may not be present, best to ignore them. --- gdk/gdktypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h index 690cc499e1..7c4a2bb008 100644 --- a/gdk/gdktypes.h +++ b/gdk/gdktypes.h @@ -546,6 +546,10 @@ typedef enum * An enumeration describing the way in which a device * axis (valuator) maps onto the predefined valuator * types that GTK+ understands. + * + * Note that the X and Y axes are not really needed; pointer devices + * report their location via the x/y members of events regardless. Whether + * X and Y are present as axes depends on the GDK backend. */ typedef enum { -- 2.30.2